<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Caixa-1.0.2: Código-Fonte de src/pdf-new.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Gerado por Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Página&nbsp;Principal</span></a></li>
      <li><a href="annotated.html"><span>Estruturas&nbsp;de&nbsp;Dados</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;Arquivos</span></a></li>
      <li><a href="globals.html"><span>Globais</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>src/pdf-new.h</h1>  </div>
</div>
<div class="contents">
<a href="pdf-new_8h.html">Vá para a documentação deste arquivo.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> *            pdf-new.h</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> *  Mon Mar 14 14:27:00 2011</span>
<a name="l00005"></a>00005 <span class="comment"> *  Copyright  2011  Alcione Ferreira</span>
<a name="l00006"></a>00006 <span class="comment"> *  &lt;alcione.sombra@gmail.com&gt;</span>
<a name="l00007"></a>00007 <span class="comment"> ****************************************************************************/</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;<a class="code" href="bibliotecas_8h.html">bibliotecas.h</a>&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="keyword">using namespace </span>std;
<a name="l00012"></a>00012 
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef __PDF_NEW_H__</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define __PDF_NEW_H__ 1</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00019"></a>00019 <span class="keywordtype">void</span> <a class="code" href="pdf-new_8C.html#a997d3f45d81466ee3876e46891524868">erro</a>(HPDF_STATUS , HPDF_STATUS , <span class="keywordtype">void</span> *);
<a name="l00020"></a>00020 
<a name="l00021"></a><a class="code" href="classPDFNEW.html">00021</a> <span class="keyword">class </span><a class="code" href="classPDFNEW.html">PDFNEW</a>
<a name="l00022"></a>00022     {
<a name="l00023"></a>00023     <span class="keyword">public</span>:
<a name="l00025"></a>00025         <a class="code" href="classPDFNEW.html">PDFNEW</a>(<span class="keywordtype">int</span>,<span class="keywordtype">int</span>, ...);
<a name="l00027"></a>00027         ~<a class="code" href="classPDFNEW.html">PDFNEW</a>();
<a name="l00029"></a>00029         <span class="keywordtype">void</span> processar();
<a name="l00032"></a>00032     <span class="keyword">protected</span>:
<a name="l00033"></a><a class="code" href="classPDFNEW.html#abb283e402ff8cc2346a1a957ad6c46e5">00033</a>         HPDF_Doc PDF_doc;
<a name="l00034"></a><a class="code" href="classPDFNEW.html#a0d65adb8d05fd03cb3ba1d0544006b2f">00034</a>         HPDF_Page Pagina;
<a name="l00035"></a><a class="code" href="classPDFNEW.html#a1915fbef85438b1e9836f0cbf86e6d7e">00035</a>         HPDF_Font Font_Definida;
<a name="l00036"></a><a class="code" href="classPDFNEW.html#a6d804a3c2d93a7c20729ffc93fc4bac9">00036</a>         HPDF_Font Font_Nome;
<a name="l00037"></a><a class="code" href="classPDFNEW.html#af0c28b7fd9295aa67cb81318d913dda7">00037</a>         HPDF_REAL Titulo;
<a name="l00038"></a><a class="code" href="classPDFNEW.html#ab4faeaa8967ab96feeb70f35af59756e">00038</a>         HPDF_REAL Altura;
<a name="l00039"></a><a class="code" href="classPDFNEW.html#a3a39e4054b435f175b97dbc38e0f17a8">00039</a>         HPDF_REAL Largura; 
<a name="l00040"></a><a class="code" href="classPDFNEW.html#a5f3b3cce9f2e0a74f65e271a416e766b">00040</a>         HPDF_UINT i;
<a name="l00041"></a><a class="code" href="classPDFNEW.html#ac2a665f74d83304ac027fdc676a5601a">00041</a>         HPDF_UINT Alt_IMG;
<a name="l00042"></a><a class="code" href="classPDFNEW.html#aeab52e5882b936a63edba26d42a2db3c">00042</a>         HPDF_UINT Lar_IMG;
<a name="l00043"></a><a class="code" href="classPDFNEW.html#a9f147f4367ccde0537c0e1a342140345">00043</a>         HPDF_Image image;
<a name="l00044"></a><a class="code" href="classPDFNEW.html#ad89226c2df3ed089d101041855ecc5c0">00044</a>         HPDF_Destination dst;
<a name="l00045"></a><a class="code" href="classPDFNEW.html#a5b99489bc8895f612c68320e38641c92">00045</a>         HPDF_Rect rect; 
<a name="l00047"></a>00047     <span class="keyword">private</span>:
<a name="l00048"></a><a class="code" href="classPDFNEW.html#aa80ccd507b1c2e2a394effbcf6dfa6ac">00048</a>         BANCO *conexao;
<a name="l00049"></a><a class="code" href="classPDFNEW.html#abd7d4c93321c22d2b0a42b6f6b7b58ab">00049</a>         <span class="keywordtype">int</span> coluna[8][2];
<a name="l00050"></a><a class="code" href="classPDFNEW.html#a0faa94d33ef4b75252ee540eaa9146b3">00050</a>         <span class="keywordtype">int</span> col_reg[8];;
<a name="l00051"></a>00051         <span class="keywordtype">int</span> colunas; 
<a name="l00052"></a><a class="code" href="classPDFNEW.html#a2777dbcb7be3fe6a840e434fd7d3c922">00052</a>         <span class="keywordtype">int</span> tipo_relatorio;
<a name="l00053"></a><a class="code" href="classPDFNEW.html#ab46a93f2904e5330b5a17d47f46c019e">00053</a>         <span class="keywordtype">int</span> retorno;
<a name="l00054"></a><a class="code" href="classPDFNEW.html#aa179cb7b77d769ae7530f9037e3ee1cb">00054</a>         <span class="keywordtype">string</span> Arq_PDF;
<a name="l00055"></a><a class="code" href="classPDFNEW.html#a261f3592050203da0bbf862080c3bff8">00055</a>         <span class="keywordtype">int</span> cod_fun;
<a name="l00056"></a><a class="code" href="classPDFNEW.html#ad2c28c7364be2f40daf6c03c33a39394">00056</a>         <span class="keywordtype">string</span> nome_fun;
<a name="l00057"></a><a class="code" href="classPDFNEW.html#a219b47396102c1f23aceab1fcf16e3d3">00057</a>         <span class="keywordtype">string</span> datas[2];
<a name="l00058"></a><a class="code" href="classPDFNEW.html#a747792d4b04293754b868e56d1116d23">00058</a>         <span class="keywordtype">string</span> cod_servico;
<a name="l00059"></a><a class="code" href="classPDFNEW.html#a94340afef8600d613ccb6a86573e69f4">00059</a>         <span class="keywordtype">string</span> cod_funcionario;
<a name="l00060"></a><a class="code" href="classPDFNEW.html#afcc24f575c8be8424ac5753a63c22db3">00060</a>         <span class="keywordtype">string</span> nome_funcionario;
<a name="l00061"></a><a class="code" href="classPDFNEW.html#a27822bac44bd52d6f043ae3a707eae48">00061</a>         <span class="keywordtype">string</span> codigo_servico;
<a name="l00062"></a><a class="code" href="classPDFNEW.html#a19cc20a8423f03afd45a4b1f7a7e3752">00062</a>         <span class="keywordtype">string</span> desc_servico;
<a name="l00063"></a><a class="code" href="classPDFNEW.html#abd49fe7513704b0d8d71ade470f23251">00063</a>         <span class="keywordtype">string</span> cod_cliente;
<a name="l00064"></a><a class="code" href="classPDFNEW.html#ae759b97cb3e38710351f6d103f9ca471">00064</a>         <span class="keywordtype">string</span> nome_cliente;
<a name="l00065"></a><a class="code" href="classPDFNEW.html#aa718719d951cc01a89ae84206d81e023">00065</a>         <span class="keywordtype">string</span> dc_recibo;
<a name="l00066"></a><a class="code" href="classPDFNEW.html#ae02e82c57014153a512f58c4398ef549">00066</a>         HPDF_TextAlignment Alinhamento;
<a name="l00068"></a><a class="code" href="classPDFNEW.html#a3d1ecf89b8f36ea7e8dec056e67c5f4c">00068</a>         <span class="keywordtype">int</span> pag; 
<a name="l00069"></a><a class="code" href="classPDFNEW.html#a20b732e54e3bfd975716a038f5d22704">00069</a>         <span class="keywordtype">int</span> pags; 
<a name="l00070"></a><a class="code" href="classPDFNEW.html#ac02674f59c2c42f26c6d53f3fb7dc22d">00070</a>         <span class="keywordtype">int</span> total_reg; 
<a name="l00072"></a>00072         <span class="keywordtype">void</span> set_cabecalho();
<a name="l00074"></a>00074         <span class="keywordtype">void</span> set_rodape();
<a name="l00076"></a>00076         <span class="keywordtype">void</span> texto();
<a name="l00078"></a>00078         <span class="keywordtype">void</span> dados_funcionario(<span class="keywordtype">int</span> );
<a name="l00080"></a>00080         <span class="keywordtype">void</span> dados_servico();
<a name="l00082"></a>00082         <span class="keywordtype">void</span> dados_cliente();
<a name="l00084"></a>00084         <span class="keywordtype">void</span> detalhamento(<span class="keyword">const</span> <span class="keywordtype">char</span>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*, <span class="keywordtype">int</span>* , <span class="keywordtype">int</span>* );
<a name="l00086"></a>00086         <span class="keywordtype">void</span> resumo(<span class="keywordtype">int</span> *, <span class="keywordtype">int</span>*);
<a name="l00087"></a>00087                     
<a name="l00088"></a>00088     };
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="preprocessor">#endif </span><span class="comment">/*__PDF_NEW_H__*/</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Gerado em Quarta, 9 de Maio de 2012 21:34:45 para Caixa-1.0.2 por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
